
$("#nav ul li").last().css('margin-left',"20px")
var state=false;
$("#nav ul li").hover(function(){
	if(!state){
		$(this).attr('class',"active").siblings().attr('class',"daohang")
	$("#nav ul li").eq(0).css("margin-left","0")
	
	
	state=!state;
	}
	
	else{
		$("this").attr('class',"daohang")
		state=!state;
	}
})
